package com.qfedu.service;

import com.qfedu.entity.Address;

import java.sql.SQLException;
import java.util.List;

public interface AddressService {
    public List<Address> findAddressById(int uid);
    public int addAddress(Address address);
    public int updateAddress(Address address);
    public int deleteAddress(int aid);
//    public int setDefault(int aid,int uid);
    public int defaultAddr(int aid);
    public int emptyDefault(int uid);
//    List<Address> findAddressById(int uid) throws SQLException;
//    int addAddress(Address address) throws SQLException;
//    int updateAddress(Address address) throws SQLException;
//    List<Address> selectAddressById(int aid) throws SQLException;
//    int deleteAddress(int aid) throws SQLException;
//    int setDefault(int aid,int uid) throws SQLException;
}
